PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Spiral / Halfbreak - VPN.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=4 |
| 3 | PSVERSION_WARP=4 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.280 |
| 8 | fDecay=0.955 |
| 9 | fVideoEchoZoom=1.193 |
| 10 | fVideoEchoAlpha=1.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=1.000 |
| 26 | fWaveScale=0.000 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.173 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=100.000 |
| 33 | fZoomExponent=0.92178 |
| 34 | fShader=0.400 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.448 |
| 48 | wave_y=0.122 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=1.000 |
| 60 | nMotionVectorsY=1.000 |
| 61 | mv_dx=0.087 |
| 62 | mv_dy=0.343 |
| 63 | mv_l=1.663 |
| 64 | mv_r=0.890 |
| 65 | mv_g=0.030 |
| 66 | mv_b=0.881 |
| 67 | mv_a=0.199 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=1 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=1 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=1 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=1 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=1.32775 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=0.57959 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=1.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_per_frame1=border_r = border_r + 1.5*sin(q2*1.13); |
| 152 | shape_0_per_frame2=border_b = border_b + 0.5*sin(q2*1.23); |
| 153 | shape_0_per_frame3=border_g = border_g + 0.5*sin(q2*1.33); |
| 154 | shape_0_per_frame4=//ang = 0.503 + (bass_att * 0.04); |
| 155 | shape_0_per_frame5=my_ang = my_ang + (0.005 + (0.001 * bass)); |
| 156 | shape_0_per_frame6=ang = my_ang; |
| 157 | shapecode_1_enabled=0 |
| 158 | shapecode_1_sides=4 |
| 159 | shapecode_1_additive=0 |
| 160 | shapecode_1_thickOutline=0 |
| 161 | shapecode_1_textured=0 |
| 162 | shapecode_1_num_inst=1 |
| 163 | shapecode_1_x=0.500 |
| 164 | shapecode_1_y=0.500 |
| 165 | shapecode_1_rad=0.10000 |
| 166 | shapecode_1_ang=0.00000 |
| 167 | shapecode_1_tex_ang=0.00000 |
| 168 | shapecode_1_tex_zoom=1.00000 |
| 169 | shapecode_1_r=1.000 |
| 170 | shapecode_1_g=0.000 |
| 171 | shapecode_1_b=0.000 |
| 172 | shapecode_1_a=1.000 |
| 173 | shapecode_1_r2=0.000 |
| 174 | shapecode_1_g2=1.000 |
| 175 | shapecode_1_b2=0.000 |
| 176 | shapecode_1_a2=0.000 |
| 177 | shapecode_1_border_r=1.000 |
| 178 | shapecode_1_border_g=1.000 |
| 179 | shapecode_1_border_b=1.000 |
| 180 | shapecode_1_border_a=0.100 |
| 181 | shapecode_2_enabled=0 |
| 182 | shapecode_2_sides=4 |
| 183 | shapecode_2_additive=0 |
| 184 | shapecode_2_thickOutline=0 |
| 185 | shapecode_2_textured=0 |
| 186 | shapecode_2_num_inst=1 |
| 187 | shapecode_2_x=0.500 |
| 188 | shapecode_2_y=0.500 |
| 189 | shapecode_2_rad=0.10000 |
| 190 | shapecode_2_ang=0.00000 |
| 191 | shapecode_2_tex_ang=0.00000 |
| 192 | shapecode_2_tex_zoom=1.00000 |
| 193 | shapecode_2_r=1.000 |
| 194 | shapecode_2_g=0.000 |
| 195 | shapecode_2_b=0.000 |
| 196 | shapecode_2_a=1.000 |
| 197 | shapecode_2_r2=0.000 |
| 198 | shapecode_2_g2=1.000 |
| 199 | shapecode_2_b2=0.000 |
| 200 | shapecode_2_a2=0.000 |
| 201 | shapecode_2_border_r=1.000 |
| 202 | shapecode_2_border_g=1.000 |
| 203 | shapecode_2_border_b=1.000 |
| 204 | shapecode_2_border_a=0.100 |
| 205 | shapecode_3_enabled=0 |
| 206 | shapecode_3_sides=4 |
| 207 | shapecode_3_additive=0 |
| 208 | shapecode_3_thickOutline=0 |
| 209 | shapecode_3_textured=0 |
| 210 | shapecode_3_num_inst=1 |
| 211 | shapecode_3_x=0.500 |
| 212 | shapecode_3_y=0.500 |
| 213 | shapecode_3_rad=0.10000 |
| 214 | shapecode_3_ang=0.00000 |
| 215 | shapecode_3_tex_ang=0.00000 |
| 216 | shapecode_3_tex_zoom=1.00000 |
| 217 | shapecode_3_r=1.000 |
| 218 | shapecode_3_g=0.000 |
| 219 | shapecode_3_b=0.000 |
| 220 | shapecode_3_a=1.000 |
| 221 | shapecode_3_r2=0.000 |
| 222 | shapecode_3_g2=1.000 |
| 223 | shapecode_3_b2=0.000 |
| 224 | shapecode_3_a2=0.000 |
| 225 | shapecode_3_border_r=1.000 |
| 226 | shapecode_3_border_g=1.000 |
| 227 | shapecode_3_border_b=1.000 |
| 228 | shapecode_3_border_a=0.100 |
| 229 | per_frame_init_1=x1 = 0.9; |
| 230 | per_frame_init_2=y1 = 0.5; |
| 231 | per_frame_init_3= |
| 232 | per_frame_init_4=x2 = 0.5; y2 = 0.5; |
| 233 | per_frame_init_5=x3 = 0.5; y3 = 0.5; |
| 234 | per_frame_init_6=x4 = 0.5; y4 = 0.5; |
| 235 | per_frame_1=zoom = 1; |
| 236 | per_frame_2=warp = 0; |
| 237 | per_frame_3=wave_a = 0; |
| 238 | per_frame_4= |
| 239 | per_frame_5=// elastic thread code |
| 240 | per_frame_6= |
| 241 | per_frame_7=xx1 = xx1*0.9 + (bass)*0.01; |
| 242 | per_frame_8=xx2 = xx2*0.9 + (treb)*0.01; |
| 243 | per_frame_9=yy1 = yy1*0.94 + (treb+bass)*0.0075; |
| 244 | per_frame_10=x1 = 0.5 + (xx1-xx2)*2; |
| 245 | per_frame_11=y1 = 0.4 + yy1*1.5; |
| 246 | per_frame_12=dt = 0.03/fps; |
| 247 | per_frame_13=vx2 = vx2*(1-2*dt) + dt*((x1+x3-2*x2)*10); |
| 248 | per_frame_14=vy2 = vy2*(1-2*dt) + dt*((y1+y3-2*y2)*10-0.5); |
| 249 | per_frame_15=vx3 = vx3*(1-2*dt) + dt*((x2+x4-2*x3)*10); |
| 250 | per_frame_16=vy3 = vy3*(1-2*dt) + dt*((y2+y4-2*y3)*10-0.5); |
| 251 | per_frame_17=vx4 = vx4*(1-2*dt) + dt*((x3-x4)*10); |
| 252 | per_frame_18=vy4 = vy4*(1-2*dt) + dt*((y3-y4)*10-0.5); |
| 253 | per_frame_19=x2 = x2 + vx2; y2 = y2 + vy2; |
| 254 | per_frame_20=x3 = x3 + vx3; y3 = y3 + vy3; |
| 255 | per_frame_21=x4 = x4 + vx4; y4 = y4 + vy4; |
| 256 | per_frame_22=vx2 = if(above(x2,0),vx2,abs(vx2)*0.5); |
| 257 | per_frame_23=vx2 = if(below(x2,1),vx2,-abs(vx2)*0.5); |
| 258 | per_frame_24=vx3 = if(above(x3,0),vx3,abs(vx3)*0.5); |
| 259 | per_frame_25=vx3 = if(below(x3,1),vx3,-abs(vx3)*0.5); |
| 260 | per_frame_26=vx4 = if(above(x4,0),vx4,abs(vx4)*0.5); |
| 261 | per_frame_27=vx4 = if(below(x4,1),vx4,-abs(vx4)*0.5); |
| 262 | per_frame_28=vy2 = if(above(y2,0),vy2,abs(vy2)*0.5); |
| 263 | per_frame_29=vy2 = if(below(y2,1),vy2,-abs(vy2)*0.5); |
| 264 | per_frame_30=vy3 = if(above(y3,0),vy3,abs(vy3)*0.5); |
| 265 | per_frame_31=vy3 = if(below(y3,1),vy3,-abs(vy3)*0.5); |
| 266 | per_frame_32=vy4 = if(above(y4,0),vy4,abs(vy4)*0.5); |
| 267 | per_frame_33=vy4 = if(below(y4,1),vy4,-abs(vy4)*0.5); |
| 268 | per_frame_34=q1 = x1;q2 = x2;q3 = x3;q4 = x4; |
| 269 | per_frame_35=q5 = y1;q6 = y2;q7 = y3;q8 = y4; |
| 270 | per_frame_36=q9 = 1/aspectx; |
| 271 | per_frame_37=q10 = 1/aspecty; |
| 272 | per_frame_38=q11 = aspectx; |
| 273 | per_frame_39=q12 = aspecty; |
| 274 | per_frame_40= |
| 275 | per_frame_41=// coloring borders |
| 276 | per_frame_42=bb = bb*0.99 + bass*0.02; |
| 277 | per_frame_43=mm = mm*0.99 + mid*0.02; |
| 278 | per_frame_44=tt = tt*0.99 + treb*0.02; |
| 279 | per_frame_45= |
| 280 | per_frame_46=mx = max(max(bb,mm),tt); |
| 281 | per_frame_47=mn = min(min(bb,mm),tt); |
| 282 | per_frame_48= |
| 283 | per_frame_49=ob_r = (bb-mn)/(mx-mn); |
| 284 | per_frame_50=ob_b = (mm-mn)/(mx-mn); |
| 285 | per_frame_51=ob_g = (tt-mn)/(mx-mn); |
| 286 | per_frame_52= |
| 287 | per_frame_53=v = 0.4/fps; |
| 288 | per_frame_54=bm = bm + (ob_r-ob_b)*v; |
| 289 | per_frame_55=mt = mt + (ob_b-ob_g)*v; |
| 290 | per_frame_56= |
| 291 | per_frame_57=// coordinates spiral 1 |
| 292 | per_frame_58=q21 = 0.5; // X |
| 293 | per_frame_59=q22 = 0; // Y |
| 294 | per_frame_60= |
| 295 | per_frame_61=// coordinates spiral 2 |
| 296 | per_frame_62=q23 = -0.5; |
| 297 | per_frame_63=q24 = 0; |
| 298 | per_frame_64= |
| 299 | per_frame_65=q25 = 0.5/asin(1); // pi/4 |
| 300 | per_frame_66= |
| 301 | per_frame_67=q26 = -bm; // rotation |
| 302 | per_frame_68=q27 = mt; // growth |
| 303 | per_pixel_1=x = 0.5 + (x-0.5)*q11; |
| 304 | per_pixel_2=y = 0.5 + (y-0.5)*q12; |
| 305 | per_pixel_3=xx = q4; |
| 306 | per_pixel_4=yy = 1-q8; |
| 307 | per_pixel_5= |
| 308 | per_pixel_6=dx = 0; dy = 0; |
| 309 | per_pixel_7= |
| 310 | per_pixel_8=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy)); |
| 311 | per_pixel_9= |
| 312 | per_pixel_10=r = 0.11; |
| 313 | per_pixel_11=v = 20; |
| 314 | per_pixel_12=dx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)))*(1.00-sigmoid(d-r,100)); |
| 315 | per_pixel_13=dy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)))*(1.00-sigmoid(d-r,100)); |
| 316 | warp_1=`float3 mus; |
| 317 | warp_2=`float2 rs,ball, uv1, uv6, uv7; |
| 318 | warp_3=`float dx,dy; |
| 319 | warp_4=`shader_body { |
| 320 | warp_5=`uv = uv_orig; |
| 321 | warp_6=`uv1 = (uv-.5) * aspect.xy; |
| 322 | warp_7=` |
| 323 | warp_8=`//GOLD |
| 324 | warp_9=`float z = 18*length(uv1)+time; |
| 325 | warp_10=`float2 uvn =normalize(uv1); |
| 326 | warp_11=`rs = clamp(tan(z)*uvn,-5,5)/2; |
| 327 | warp_12=` |
| 328 | warp_13=`// KUGEL |
| 329 | warp_14=`float2 p0 = float2(q9,q10); |
| 330 | warp_15=`ball = uv1 - p0; |
| 331 | warp_16=`float size = .035; |
| 332 | warp_17=`float dist = length(ball) / size; |
| 333 | warp_18=`z = saturate(1-dist); |
| 334 | warp_19=` |
| 335 | warp_20=`//ADD |
| 336 | warp_21=`float mask = (z >= .001); |
| 337 | warp_22=`rs = q28*rs + (1-q28)*rs.yx; |
| 338 | warp_23=`uv += (1-mask)*.03*(rs.yx) + .6*mask*z*normalize(ball); |
| 339 | warp_24=` |
| 340 | warp_25=` |
| 341 | warp_26=`uv6 = mul (uv1,float2x2(_qb)); |
| 342 | warp_27=`mus = (.12/(sqrt(uv6.x))); |
| 343 | warp_28=`mus = .08*abs(mus) - z* (.2 + .3*slow_roam_cos.xyz); |
| 344 | warp_29=` |
| 345 | warp_30=`float3 gold = float3 (1,.84,.6); |
| 346 | warp_31=` |
| 347 | warp_32=`//float2 uv2 = .7*uv1+.3*float2 (sin(uv1.y*16), sin(uv1.x*16)); |
| 348 | warp_33=`//uv2 *= .2; |
| 349 | warp_34=`//float3 dots = q26*saturate(.0015/(length(uv2))); |
| 350 | warp_35=` |
| 351 | warp_36=`float3 col = gold; |
| 352 | warp_37=` |
| 353 | warp_38=`float3 blur = GetBlur1(frac(uv)); |
| 354 | warp_39=`float3 crisp= tex2D(sampler_main,uv); |
| 355 | warp_40=` |
| 356 | warp_41=`float3 ret1 = crisp - blur*.03 + col*(mus); |
| 357 | warp_42=`ret = ret1*.9-.018; |
| 358 | warp_43=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 359 | warp_44=` ((uv6.xyy*q27 |
| 360 | warp_45=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 361 | warp_46=` ).xyz* |
| 362 | warp_47=` float3(1,1,0)*0.05 + |
| 363 | warp_48=` time*float3(0,0,1)*q29 |
| 364 | warp_49=` ); |
| 365 | warp_50=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y += (noise9).x*.5; |
| 366 | warp_51=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z += (noise9).y*.5; |
| 367 | warp_52=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x += (noise9).z*.5; |
| 368 | warp_53=`} |
| 369 | comp_1=`shader_body |
| 370 | comp_2=`{ |
| 371 | comp_3=`float2 uv1 = (uv-0.5)*aspect.xy; |
| 372 | comp_4=` |
| 373 | comp_5=`float rad2 = length(uv1) + .1; |
| 374 | comp_6=`float rad1 = .1/rad2 ; |
| 375 | comp_7=` |
| 376 | comp_8=`float2 uv2 = float2 (ang/3.14, q27*rad1); |
| 377 | comp_9=`uv2.y = uv2.y +.1*q30; |
| 378 | comp_10=`uv2.x = uv2.x +.2*time; |
| 379 | comp_11=` |
| 380 | comp_12=`float2 uv3 = float2 (ang/3.14, 4*rad1); |
| 381 | comp_13=`uv3.y = uv3.y -.1*q30; |
| 382 | comp_14=` |
| 383 | comp_15=` |
| 384 | comp_16=`float3 crisp = 2*GetPixel(frac(uv2)) + GetPixel(frac(uv3)); |
| 385 | comp_17=`crisp = max(crisp,2*GetBlur2(frac(uv2)) + GetBlur2(frac(uv3))); |
| 386 | comp_18=` |
| 387 | comp_19=`float3 lay1 = float3 (0,0,1)*uv.y*pow(1-rad,8); |
| 388 | comp_20=` |
| 389 | comp_21=`crisp = 3*crisp * pow(rad,1); |
| 390 | comp_22=`float mask = saturate(1-4*rad); |
| 391 | comp_23=` |
| 392 | comp_24=`ret = crisp + lay1*mask + mask * 2*GetBlur1(frac(uv)); |
| 393 | comp_25=` |
| 394 | comp_26=`} |